<?php
	$nama=$_POST['nama'];
	
	if(isset($_POST['submit'])){
		$sql="insert into master_rehabilitasi(nama_rehabilitasi) values ('$nama')";
		$qry=mysql_query($sql);
	}
	$url_sukses='utama.php?module=mod_mrehabilitasi';
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>